import { ApiProperty } from "@nestjs/swagger";
import { IsNotEmpty } from "class-validator";

export class GetRoleIdByUserIdDto {
    @ApiProperty({ description: "用户id" })
    @IsNotEmpty({ message: "userId 不能为空" })
    userId: string;
}